package com.example.backend.entity;

import lombok.Data;

@Data
public class UserInfo {

    private String username;  //用户名

    private String token;      //是否登录

    private Integer permission;       //管理员权限


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Integer getPermission() {
        return permission;
    }

    public void setPermission(Integer permission) {
        this.permission = permission;
    }
}